=Command Line Options=
Configure and control the Everything program from the command line.



[[#usage|Usage]]
[[#searching|Searching]]
[[#results|Results]]
[[#window|Window]]
[[#db|Database]]
[[#filelists|File Lists]]
[[#advanced_rename|Advanced Rename]]
[[#etp|ETP Server]]
[[#installation|Installation]]
[[#general|General]]
[[#examples|Examples]]
[[#see_also|See also]]



==Usage==
`Everything.exe [filename] [-switches]`

<dl>
;filename
Optionally specify a file or folder.
If an `.efu` file is specified, the [[support/everything/file_lists/|Everything file list]] is opened.
If a file is specified, Everything sets the search to the file's full path.
If a folder is specified, Everything searches within that folder.
<beta1.5>

;-switches
Optional switches to control installation, indexing, searching, search options, results, sorting, and the search window.
</dl>



Switches can start with either a dash (`-`) or forward slash (`/`).
For example:
`/maximize` is the same as `-maximize`



Dashes (-) inside switches can be omitted.
For example:
`-wholewords` is the same as `-whole-words`



Use double quotes (`"`) to include spaces in a parameter.



Toggleable switches can be disabled by prefixing them with `no-`
For example:
`-no-whole-words` disables `-whole-words`



Use `^` to escape `\`, `&`, `|`, `>`, `<`, and `^` in a command prompt.



==Searching==
Command line options to control the search and search behavior.

<dl>
;-search|-search <text>
;-s|-s <text>
Set the search to the specified text.

For example:
`Everything.exe -search "abc 123"` = searches for '''abc 123''' (without quotes)

Use `"""` to escape a single literal quote (`"`)
For example:
`Everything.exe -search """"abc 123""""` = searches for '''"abc 123"'''

<span id="-searchstar"></span>;-search-star|-search* ...
<span id="-sstar"></span>;-s-star|-s* ...
Set the search to the specified text.
Treat the rest of the command line as literal search text.
<beta1.5>

;-filename|-filename <filename>
Search for a file or folder with the specified filename.
If a file is specified, Everything sets the search to the file's full path.
If a folder is specified, Everything searches within that folder.

;-path|-path <path>
;-p|-p <path>
Search for files and folders in the specified location.

<span id="-parentpath"></span>;-parent-path|-parent-path <path>
Search for files and folders in the parent of the specified location.

;-parent|-parent <path>
Search for files and folders directly in the specified location.
Does not search subfolders.

<span id="-namepart"></span>;-name-part|-name-part <filename>
Search for the whole name part of the specified filename.

;-stem|-stem <filename>
Search for files and folders with the same stem (name without extension) as the specified filename.
<beta1.5>

;-extension|-extension <filename>
Search for files and folders with the same extension as the specified filename.
<beta1.5>

;-case
<span id="-nocase"></span>;-no-case
Enable or disable case matching.

;-diacritics
<span id="-nodiacritics"></span>;-no-diacritics
Enable or disable diacritics matching.

<span id="-wholewords"></span>;-whole-words
<span id="-nowholewords"></span>;-no-whole-words
;-ww
<span id="-noww"></span>;-no-ww
Enable or disable whole word matching.

<span id="-matchpath"></span>;-match-path
<span id="-nomatchpath"></span>;-no-match-path
Enable or disable full path matching.

;-prefix
<span id="-noprefix"></span>;-no-prefix
Enable or disable matching the start of words.
<beta1.5>

;-suffix
<span id="-nosuffix"></span>;-no-suffix
Enable or disable matching the end of words.
<beta1.5>

<span id="-ignorepunctuation"></span>;-ignore-punctuation
<span id="-noignorepunctuation"></span>;-no-ignore-punctuation
Enable or disable ignoring punctuation in filenames.
<beta1.5>

<span id="-ignorewhitespace"></span><span id="-ignore-white-space"></span>;-ignore-whitespace
<span id="-noignorewhitespace"></span><span id="-no-ignore-white-space"></span>;-no-ignore-whitespace
Enable or disable ignoring whitespace in filenames.
<beta1.5>

;-regex
<span id="-noregex"></span>;-no-regex
Enable or disable regular expressions.

;-filter|-filter <name>
Activate the [[support/everything/searching/#filters|filter]] with the specified name.

;-bookmark|-bookmark <name>
Open the [[support/everything/searching/#bookmarks|bookmark]] with the specified name.

;-home
Open the [[support/everything/searching/#home|home search]].

;-explore|-explore <path>
Set the folders sidebar selection to the specified path.
Use a semicolon (`;`) to specify multiple paths.
The path can specify a file or folder.
If a file is specified, the parent folder is selected.
<beta1.5>

<span id="-exploreexpand"></span>;-explore-expand
Expand the selected item in the folders sidebar.
Use with [[#-explore|-explore]]
<beta1.5>

<span id="-exploresubfolders"></span>;-explore-sub-folders
<span id="-noexploresubfolders"></span>;-no-explore-sub-folders
Enable or disable searching subfolders in the folders sidebar.
Use with [[#-explore|-explore]]
<beta1.5>

;-url|-url <[es:]search>
Set the search from an [[https://www.voidtools.com/forum/viewtopic.php?t=12700|es:]] URL.
</dl>



==Results==
Command line options to control the results.

<dl>
;-sort|-sort <name>
Set the sort to the specified [[support/everything/properties|property]].

Use double quotes (`"`) around property names containing spaces.
For example: 
`-sort "Date Modified"`

Spaces in property names can optionally be replaced with dashes (`-`).
For example:
`-sort date-modified`
Use [[#-sort-ascending|-sort-ascending]] or [[#-sort-descending|-sort-descending]] to set the sort order.

<span id="-sortascending"></span>;-sort-ascending
<span id="-sortdescending"></span>;-sort-descending
Set the sort order to ascending or descending.

<span id="-sortmix"></span>;-sort-mix
<span id="-nosortmix"></span>;-no-sort-mix
Enable or disable mixing file and folder results together.
<beta1.5>

<span id="-secondarysort"></span>;-secondary-sort|-secondary-sort <name>
Set the secondary sort to the specified [[support/everything/properties|property]].
Use [[#-sort|-sort]] to set the primary sort.
Use [[#-secondary-sort-ascending|-secondary-sort-ascending]] or [[#-secondary-sort-descending|-secondary-sort-descending]] to set the secondary sort order.
<beta1.5>

<span id="-secondarysortascending"></span>;-secondary-sort-ascending
<span id="-secondarysortdescending"></span>;-secondary-sort-descending
Set the secondary sort order to ascending or descending.
<beta1.5>

<span id="-tertiarysort"></span>;-tertiary-sort|-tertiary-sort <name>
Set the tertiary sort to the specified [[support/everything/properties|property]].
Use [[#-sort|-sort]] to set the primary sort.
Use [[#-tertiary-sort-ascending|-tertiary-sort-ascending]] or [[#-tertiary-sort-descending|-tertiary-sort-descending]] to set the tertiary sort order.
<beta1.5>

<span id="-tertiarysortascending"></span>;-tertiary-sort-ascending
<span id="-tertiarysortdescending"></span>;-tertiary-sort-descending
Set the tertiary sort order to ascending or descending.
<beta1.5>

;-details
Show results in detail view.

;-thumbnails
Show results in thumbnail view.

<span id="-thumbnailsize"></span>;-thumbnail-size|-thumbnail-size <size>
Set the thumbnail size to the specified size in logical pixels.

;-columns|-columns <property-names>
<span id="-addcolumns"></span>;-add-columns|-add-columns <property-names>
<span id="-removecolumns"></span>;-remove-columns|-remove-columns <property-names>
Set, add, or remove result list columns by property name.
Use a semicolon (`;`) to specify multiple columns.
Use `-add-columns` to add columns to the existing view.
Use `-remove-columns` to remove columns from the existing view.

<span id="-enableresultomissions"></span>;-enable-result-omissions
<span id="-disableresultomissions"></span>;-disable-result-omissions
Enable or disable [[support/everything/result_omissions|result omissions]].
<beta1.5>

<span id="-enabletempresultomissions"></span>;-enable-temp-result-omissions
<span id="-disabletempresultomissions"></span>;-disable-temp-result-omissions
Enable or disable [[support/everything/result_omissions/#enable_temporary_result_omissions|temporary result omissions]].
<beta1.5>

<span id="-selectmostrunresult"></span>;-select-most-run-result
<span id="-selectlastrunresult"></span>;-select-last-run-result
<span id="-selecttopresult"></span>;-select-top-result
<span id="-selectbottomresult"></span>;-select-bottom-result
<span id="-selectrandomresult"></span>;-select-random-result
Focus and select the specified result.
<beta1.5>

;-select|-select <filename>
Focus and select the result matching the specified filename.
</dl>



==Window==
Command line options to control the Everything search window.

<dl>
<span id="-newwindow"></span>;-new-window
<span id="-nonewwindow"></span>;-no-new-window
Create a new search window or use an existing window.

<span id="-newtab"></span>;-new-tab
<span id="-nonewtab"></span>;-no-new-tab
Create a new search tab or use an existing tab.

<span id="-newtabposition"></span>;-new-tab-position|-new-tab-position <position>
Set the zero-based index where the new tab is inserted.
`0` = insert at the start.
The default is to insert at the end.
Use with [[#-new-tab|-new-tab]] to create the new tab.

<span id="-togglewindow"></span>;-toggle-window
Show the current search window.
If the current search window is already shown, close it.
If no search window is shown, create a new one.

;-close
Close the current search window.

<span id="-closeall"></span>;-close-all
Close all search windows.
<beta1.5>

;-minimize
;-unminimize
Minimize or restore the search window.

<span id="-minimizeall"></span>;-minimize-all
<span id="-unminimizeall"></span>;-unminimize-all
Minimize or restore all search windows.

;-maximize
<span id="-nomaximize"></span>;-no-maximize
Maximize or restore the search window.

;-fullscreen
<span id="-nofullscreen"></span>;-no-fullscreen
Set the search window to fullscreen or windowed mode.

<span id="-ontop"></span>;-on-top
<span id="-noontop"></span>;-no-on-top
Enable or disable always on top.

;-x|-x <x>
;-y|-y <y>
;-width|-width <width>
;-height|-height <height>
Set the search window position and size in screen coordinates.
<beta1.5>

;-zoom|-zoom <percent>
Set the UI scale to the specified percentage.
<beta1.5>

;-menu
<span id="-nomenu"></span>;-no-menu
Show or hide the menu in windowed mode.
<beta1.5>

<span id="-fullscreenmenu"></span>;-fullscreen-menu
<span id="-nofullscreenmenu"></span>;-no-fullscreen-menu
Show or hide the menu in fullscreen mode.
<beta1.5>

<span id="-filterbar"></span>;-filter-bar
<span id="-nofilterbar"></span>;-no-filter-bar
Show or hide the filter bar.
<beta1.5>

<span id="-statusbar"></span>;-status-bar
<span id="-nostatusbar"></span>;-no-status-bar
Show or hide the status bar.
<beta1.5>

<span id="-folderssidebar"></span>;-folders-sidebar
<span id="-nofolderssidebar"></span>;-no-folders-sidebar
Show or hide the folders sidebar.
<beta1.5>

<span id="-folderssidebarsubfolders"></span>;-folders-sidebar-subfolders
<span id="-nofolderssidebarsubfolders"></span>;-no-folders-sidebar-subfolders
Enable or disable searching subfolders in the folders sidebar.
<beta1.5>

<span id="-bookmarkssidebar"></span>;-bookmarks-sidebar
<span id="-nobookmarkssidebar"></span>;-no-bookmarks-sidebar
Show or hide the bookmarks sidebar.
<beta1.5>

<span id="-filterssidebar"></span>;-filters-sidebar
<span id="-nofilterssidebar"></span>;-no-filters-sidebar
Show or hide the filters sidebar.
<beta1.5>

;-preview
<span id="-nopreview"></span>;-no-preview
Show or hide the preview sidebar.
<beta1.5>

<span id="-focussearch"></span>;-focus-search
<span id="-focusresults"></span>;-focus-results
Focus the search box or result list.
<beta1.5>
</dl>



==db|Database==
Command line options to control the Everything database and its indexes.

<dl>
;-db|-db <filename>
Use the specified filename to load and save the Everything database.

Optionally use with [[#-read-only|-read-only]] to open the database in read-only mode.

<span id="-readonly"></span>;-read-only
Open the database in read-only mode.
The database is not updated.

<span id="-loaddelay"></span>;-load-delay|-load-delay <milliseconds>
Wait up to the specified number of milliseconds before loading the database on startup.

<span id="-nodb"></span>;-no-db
Do not load from or save to the Everything database file.

;-local
Load the local database.

<span id="-addvolume"></span>;-add-volume|-add-volume <path>
Add a volume with the specified path to the index.

Use a semicolon (`;`) to specify multiple volume paths.

Adding a volume disables '''automatically include new volumes''' and '''automatically remove offline volumes'''.
<beta1.5>

;-volumes|-volumes <paths>
Set the indexed volumes to the specified paths.

Use a semicolon (`;`) to specify multiple volume paths.

Setting the volumes disables '''automatically include new volumes''' and '''automatically remove offline volumes'''.
<beta1.5>

<span id="-addfolder"></span>;-add-folder|-add-folder <path>
Add a folder with the specified path to the index.

Use a semicolon (`;`) to specify multiple folder paths.
<beta1.5>

;-folders|-folders <paths>
Set the indexed folders to the specified folder paths.

Use a semicolon (`;`) to specify multiple folder paths.
<beta1.5>

<span id="-addfilelist"></span>;-add-filelist|-add-filelist <filename>
Add a [[support/everything/file_lists/|file list]] with the specified filename to the index.

Use a semicolon (`;`) to specify multiple filenames.
<beta1.5>

;-filelists|-filelists <filenames>
Set the indexed file lists to the specified filenames.

Use a semicolon (`;`) to specify multiple filenames.
<beta1.5>

<span id="-addnetworkindex"></span>;-add-network-index|-add-network-index <host>
Add a network index with the specified host to the index.

Host syntax:
`[username:password@]host[:port]`

Use a semicolon (`;`) to specify multiple hosts.
<beta1.5>

<span id="-networkindexes"></span>;-network-indexes|-network-indexes <hosts>
Set the indexed network indexes to the specified hosts.

Host syntax:
`[username:password@]host[:port]`

Use a semicolon (`;`) to specify multiple hosts.
<beta1.5>

<span id="-addproperty"></span>;-add-property|-add-property <name>
Add a property with the specified name to the index.

Use a semicolon (`;`) to specify multiple property names.
<beta1.5>

;-properties|-properties <names>
Set the indexed properties to the specified property names.

Use a semicolon (`;`) to specify multiple property names.
<beta1.5>

<span id="-addexcludefolder"></span>;-add-exclude-folder|-add-exclude-folder <path>
Add the specified folder to the list of excluded folders.

Use a semicolon (`;`) to specify multiple folder paths.
<beta1.5>

<span id="-excludefolders"></span>;-exclude-folders|-exclude-folders <paths>
Set the list of excluded folders to the specified paths.

Use a semicolon (`;`) to specify multiple folder paths.
<beta1.5>

<span id="-noautoindex"></span>;-no-auto-index
Do not automatically include volumes for indexing.
<beta1.5>

;-rescan|-rescan <path>
Rescan an indexed FAT volume, folder, or network drive with the specified path.

Use a semicolon (`;`) to specify multiple paths.

The specified path does not have to be the root path.
Specify a subfolder to rescan only that subfolder and its subfolders.

<span id="-rescanall"></span>;-rescan-all
Rescan all indexed FAT volumes, folder indexes, and network drives.

;-reindex
Force a database rebuild.

<span id="-monitorpause"></span>;-monitor-pause
<span id="-monitorresume"></span>;-monitor-resume
Pause or resume updating the indexes.
While paused, Everything continues to monitor for changes to volumes.
Indexes are updated when monitoring resumes or Everything exits.

<span id="-monitorstart"></span>;-monitor-start
<span id="-monitorstop"></span>;-monitor-stop
Start or stop monitoring for changes to indexes.
Changes to FAT volumes, folder indexes, and network drives will be missed when monitoring is stopped.
<beta1.5>

<span id="-savedb"></span>;-save-db
<span id="-savedbnow"></span>;-save-db-now
Start saving the database to disk.
Use `-save-db-now` to save the database to disk and return after it has been saved.
<beta1.5>
</dl>



==filelists|File Lists==
Command line options to open, edit, and create [[support/everything/file_lists/|Everything File Lists]].

<dl>
;-filelist|-filelist <filename>
Open a file list with the specified filename.

;-edit|-edit <filename>
Open a file list with the specified filename for editing in the file list editor.

<span id="-filelisteditor"></span>;-filelist-editor
Show the file list editor.

<span id="-createfilelist"></span>;-create-file-list|-create-file-list <filename> <path>
Create a file list with the specified filename from the specified path.
Use a semicolon (`;`) to specify multiple paths.
Returns when the file list is created.
Does not start Everything or show a search window.

<span id="-createfilelistincludeonlyfolders"></span>;-create-file-list-include-only-folders|-create-file-list-include-only-folders <filter>
Include only folders matching the specified wildcard filter when creating a file list.
Prefix a filter with `regex:` to use regular expressions.
Use a semicolon (`;`) to specify multiple filters.
Use with [[#-create-file-list|-create-file-list]] to create a file list.
<beta1.5>

<span id="-createfilelistincludeonlyfiles"></span>;-create-file-list-include-only-files|-create-file-list-include-only-files <filter>
Include only files matching the specified wildcard filter when creating a file list.
Prefix a filter with `regex:` to use regular expressions.
Use a semicolon (`;`) to specify multiple filters.
Use with [[#-create-file-list|-create-file-list]] to create a file list.

<span id="-createfilelistexcludefolders"></span>;-create-file-list-exclude-folders|-create-file-list-exclude-folders <filter>
Exclude folders matching the specified wildcard filter when creating a file list.
Prefix a filter with `regex:` to use regular expressions.
Use a semicolon (`;`) to specify multiple filters.
Use with [[#-create-file-list|-create-file-list]] to create a file list.

<span id="-createfilelistexcludefiles"></span>;-create-file-list-exclude-files|-create-file-list-exclude-files <filter>
Exclude files matching the specified wildcard filter when creating a file list.
Prefix a filter with `regex:` to use regular expressions.
Use a semicolon (`;`) to specify multiple filters.
Use with [[#-create-file-list|-create-file-list]] to create a file list.

<span id="-createfilelistnosubfolders"></span>;-create-file-list-no-subfolders|-create-file-list-no-subfolders
Do not include files and folders from subfolders when creating a file list.
Use with [[#-create-file-list|-create-file-list]] to create a file list.
<beta1.5>

<span id="-createfilelistnofolders"></span>;-create-file-list-no-folders|-create-file-list-no-folders
Do not include folders when creating a file list.
Use with [[#-create-file-list|-create-file-list]] to create a file list.
<beta1.5>

<span id="-createfilelistnofiles"></span>;-create-file-list-no-files|-create-file-list-no-files
Do not include files when creating a file list.
Use with [[#-create-file-list|-create-file-list]] to create a file list.
<beta1.5>
</dl>



==advanced_rename|Advanced Rename==
Shows the Advanced Rename dialog to rename, move or copy multiple files and folders.

These command line options do not open an Everything search window.

<dl>
;-copyto|-copyto [filename1] [filename2] [filename3] [...]
;-moveto|-moveto [filename1] [filename2] [filename3] [...]
;-rename|-rename [filename1] [filename2] [filename3] [...]
Show the Advanced Rename dialog with the specified filenames.
The remaining command-line is treated as a list of filenames.
`*` and `?` wildcards are supported.

If an Advanced Rename dialog is already running, filenames are sent to the existing instance.
Otherwise, a new Advanced Rename dialog is created.

See also [[#-instance|-instance]]
See also [[#-rename-list|-rename-list]]

<span id="-renamelist"></span>;-rename-list|-rename-list <file-list.txt>
<span id="-copy-to-list"></span>;-copy-to-list|-copy-to-list <file-list.txt>
<span id="-move-to-list"></span>;-move-to-list|-move-to-list <file-list.txt>
Show the Advanced Rename dialog with the files from the specified text/plain file.
The file list must contain one filename per line.

See also [[#-instance|-instance]]
See also [[#-rename|-rename]]
</dl>



==etp|ETP Server==
Command line options to connect to an [[support/everything/etp/|ETP server]].

<dl>
;-connect|-connect <[username[:password]@]host[:port]>
Connect to an ETP server using the specified host and optional username, password, and port.

<span id="-adminserversharelinks"></span>;-admin-server-share-links
<span id="-serversharelinks"></span>;-server-share-links
<span id="-ftplinks"></span>;-ftp-links
<span id="-drivelinks"></span>;-drive-links
Set the link type for ETP connection results.
Use with [[#-connect|-connect]].
</dl>



==Installation==
Install, configure, or uninstall Everything features.

These command line options return immediately without opening an Everything search window.

Everything automatically prompts for administrative privileges when required.

<dl>
<span id="-installlanguage"></span>;-install-language|-install-language <langID>
Set the language to the specified language ID in decimal.
1033 = English (US).
0 = System default.
See [[support/everything/Language IDs|Language IDs]] for a list of langIDs.
Requires Everything to be closed.

<span id="-appdata"></span>;-app-data
<span id="-noappdata"></span>;-no-app-data
Store settings and data in `%APPDATA%\Everything` or in the same location as `Everything.exe`.
Requires administrative privileges.
Requires Everything to be closed.

<span id="-enableupdatenotification"></span>;-enable-update-notification
<span id="-disableupdatenotification"></span>;-disable-update-notification
Enable or disable update notifications on startup.
Requires Everything to be closed.

<span id="-installrunonsystemstartup"></span>;-install-run-on-system-startup
<span id="-installcurrentuserrunonsystemstartup"></span>;-install-current-user-run-on-system-startup
<span id="-uninstallrunonsystemstartup"></span>;-uninstall-run-on-system-startup
<span id="-uninstallcurrentuserrunonsystemstartup"></span>;-uninstall-current-user-run-on-system-startup
Add or remove Everything from system startup for the current user.

<span id="-installallusersrunonsystemstartup"></span>;-install-all-users-run-on-system-startup
<span id="-uninstallallusersrunonsystemstartup"></span>;-uninstall-all-users-run-on-system-startup
Add or remove Everything from system startup for all users.
Requires administrative privileges.

<span id="-installservice"></span>;-install-service
<span id="-uninstallservice"></span>;-uninstall-service
Install or uninstall the '''Everything service'''.
The service is started automatically.
Requires administrative privileges.

<span id="-startservice"></span>;-start-service
<span id="-stopservice"></span>;-stop-service
Start or stop the '''Everything service'''.

<span id="-servicepipename"></span>;-service-pipe-name|-service-pipe-name <name>
Set the pipe name used to connect to the Everything service.

<span id="-installservicepipename"></span>;-install-service-pipe-name|-install-service-pipe-name <name>
Set the pipe name used by the '''Everything service'''.
Must be used with [[#-install-service|-install-service]].
Requires administrative privileges.

<span id="-enableindexasadmin"></span>;-enable-index-as-admin
<span id="-disableindexasadmin"></span>;-disable-index-as-admin
Enable or disable indexing in a separate process running as administrator.
Requires administrative privileges.
Requires Everything to be closed.

<span id="-enablerunasadmin"></span>;-enable-run-as-admin
<span id="-disablerunasadmin"></span>;-disable-run-as-admin
Enable or disable running Everything as administrator.
Requires administrative privileges.
Requires Everything to be closed.

<span id="-installfoldercontextmenu"></span>;-install-folder-context-menu
<span id="-installcurrentuserfoldercontextmenu"></span>;-install-current-user-folder-context-menu
<span id="-uninstallfoldercontextmenu"></span>;-uninstall-folder-context-menu
<span id="-uninstallcurrentuserfoldercontextmenu"></span>;-uninstall-current-user-folder-context-menu
Install or uninstall the '''Search Everything''' folder context menu item for the current user.

<span id="-installallusersfoldercontextmenu"></span>;-install-all-users-folder-context-menu
<span id="-uninstallallusersfoldercontextmenu"></span>;-uninstall-all-users-folder-context-menu
Install or uninstall the '''Search Everything''' folder context menu item for all users.
Requires administrative privileges.

<span id="-installstartmenushortcuts"></span>;-install-start-menu-shortcuts
<span id="-installcurrentuserstartmenushortcuts"></span>;-install-current-user-start-menu-shortcuts
<span id="-uninstallstartmenushortcuts"></span>;-uninstall-start-menu-shortcuts
<span id="-uninstallcurrentuserstartmenushortcuts"></span>;-uninstall-current-user-start-menu-shortcuts
Create or remove the Everything shortcut in the Start menu for the current user.

<span id="-installallusersstartmenushortcuts"></span>;-install-all-users-start-menu-shortcuts
<span id="-uninstallallusersstartmenushortcuts"></span>;-uninstall-all-users-start-menu-shortcuts
Create or remove the Everything shortcut in the Start menu for all users.
Requires administrative privileges.

<span id="-installdesktopshortcut"></span>;-install-desktop-shortcut
<span id="-installcurrentuserdesktopshortcut"></span>;-install-current-user-desktop-shortcut
<span id="-uninstalldesktopshortcut"></span>;-uninstall-desktop-shortcut
<span id="-uninstallcurrentuserdesktopshortcut"></span>;-uninstall-current-user-desktop-shortcut
Create or remove the desktop shortcut for the current user.

<span id="-installallusersdesktopshortcut"></span>;-install-all-users-desktop-shortcut
<span id="-uninstallallusersdesktopshortcut"></span>;-uninstall-all-users-desktop-shortcut
Create or remove the desktop shortcut for all users.
Requires administrative privileges.

<span id="-installurlprotocol"></span>;-install-url-protocol
<span id="-installcurrentuserurlprotocol"></span>;-install-current-user-url-protocol
<span id="-uninstallurlprotocol"></span>;-uninstall-url-protocol
<span id="-uninstallcurrentuserurlprotocol"></span>;-uninstall-current-user-url-protocol
Install or uninstall the URL Protocol for the current user.

<span id="-installallusersurlprotocol"></span>;-install-all-users-url-protocol
<span id="-uninstallallusersurlprotocol"></span>;-uninstall-all-users-url-protocol
Install or uninstall the URL Protocol for all users.
Requires administrative privileges.

<span id="-installefuassociation"></span>;-install-efu-association
<span id="-installcurrentuserefuassociation"></span>;-install-current-user-efu-association
<span id="-uninstall-efu-association"></span>;-uninstall-efu-association
<span id="-uninstallcurrentuserefuassociation"></span>;-uninstall-current-user-efu-association
Create or remove the EFU file association with Everything for the current user.

<span id="-installallusersefuassociation"></span>;-install-all-users-efu-association
<span id="-uninstallallusersefuassociation"></span>;-uninstall-all-users-efu-association
Create or remove the EFU file association with Everything for all users.
Requires administrative privileges.

<span id="-choosevolumes"></span>;-choose-volumes
Do not automatically index volumes.
Requires Everything to be closed.

<span id="-enableautoindexfatvolumes"></span>;-enable-auto-index-fat-volumes
<span id="-disableautoindexfatvolumes"></span>;-disable-auto-index-fat-volumes
Enable or disable automatically FAT volume indexing.
Requires Everything to be closed.
<beta1.5>

<span id="-createusnjournal"></span>;-create-usn-journal|-create-usn-journal <volume> <max-size-bytes> <allocation-delta-bytes>
Create a USN Journal on the specifed volume with the specified maximum size and allocation delta in bytes.
Requires administrative privileges.

<span id="-deleteusnjournal"></span>;-delete-usn-journal|-delete-usn-journal <volume>
Delete the USN Journal on the specifed volume.
Requires administrative privileges.

;-install|-install <path>
Install Everything to the specified location.
Requires administrative privileges.

<span id="-installoptions"></span>;-install-options|-install-options <command line options>
Command line options to pass to the newly installed Everything.exe. 
Use with [[#-install|-install]]

<span id="-installconfig"></span>;-install-config|-install-config <filename>
Install the specified configuration file.
The specified ini file is merged with any existing configuration file before any other install options are applied.
Requires Everything to be closed.

;-uninstall|-uninstall [path]
Uninstall Everything from the specified path.
If no path is specified Everything is uninstalled from the `Everything.exe` location.
This removes Everything from system startup, removes the service, folder context menu, start menu shortcut, desktop shortcut, URL protocol, EFU file associations and deletes any files created by Everything.
Requires administrative privileges.

<span id="-uninstalluser"></span>;-uninstall-user
Uninstall Everything user files.

<span id="-installclientservice"></span>;-install-client-service
<span id="-uninstallclientservice"></span>;-uninstall-client-service
Install or uninstall the Everything client as a service.
Useful for running plugins without having a user logged in.
Requires administrative privileges.

<span id="-startclientservice"></span>;-start-client-service
<span id="-stopclientservice"></span>;-stop-client-service
Start or stop the Everything client service.
</dl>



==General==
General command line options for Everything.

<dl>
;-help
;-h
<span id="-questionmark"></span>;-question-mark|-?
Show the Everything command line help.

;-instance|-instance <name>
Specify the name of the Everything [[support/everything/Multiple Instances|instance]].

<span id="-firstinstance"></span>;-first-instance
Run Everything only if it is not already running.
If Everything is already running, this command is ignored.

<span id="-nofirstinstance"></span>;-no-first-instance
Run Everything only if it is already running.
If Everything is not running, this command is ignored.

;-startup
Run Everything in the background without showing any search windows.

<span id="-restoreprevioussession"></span>;-restore-previous-session
Restore the previous session.

<span id="-restoresession"></span>;-restore-session|-restore-session <session.json>
Restore a session from the specified session JSON file.

Use with [[#-no-new-window|-no-new-window]] to prevent a new window from showing.

<span id="-isrelaunchcommand"></span>;-is-relaunch-command
Perform the default action when Everything is launched from the taskbar.
If Everything is already running, open a new window.
Otherwise, start Everything normally.

;-admin
Run Everything as administrator.

<span id="-indexasadmin"></span>;-index-as-admin
Run an additional Everything process as administrator to index NTFS volumes.
The main Everything process continues to run as a standard user.

<span id="-safemode"></span>;-safe-mode
Start Everything with plugins and icon shell extensions disabled.

;-config|-config <filename>
Use the specified filename for the Everything.ini configuration file.

<span id="-nopolicy"></span>;-no-policy
Ignore group policies.
Can only be used when running as administrator.

;-command|-command <id>
Run the command with the specified [[support/everything/sdk/|UI ID]].
Use a semicolon (`;`) to separate multiple IDs.

;-language|-language <language-ID>
Temporarily set the specified [[support/everything/Language IDs|Language ID]].

<span id="-quit"></span>;-exit
Exit an existing Everything instance.

Optionally use with [[#-wait|-wait]] to wait until the existing Everything process exits.

;-wait
Wait for the existing Everything process to exit before returning.

Optionally use with [[#-exit|-exit]] to tell Everything to exit now.

;-restart
Restart Everything.

<span id="-console"></span>;-debug
Show the debugging console.

;-verbose
Display all debug messages.
Use with [[#-debug|-debug]] or [[#-debug-log|-debug-log]].

<span id="-debuglog"></span>;-debug-log
Enable debug mode and write debugging information to `%TEMP%\Everything Debug Log.txt`.

;--
disable switch parsing.

;-svc
Host the Everything Service in an elevated Everything process.

<span id="-svcpipename"></span>;-svc-pipe-name|-svc-pipe-name <name>
Host the Everything Service pipe server with the specified name.

Use with [[#-svc|-svc]] to host the service.

<span id="-svcsecuritydescriptor"></span>;-svc-security-descriptor|-svc-security-descriptor <security-descriptor>
Host the Everything Service pipe server with the specified security descriptor.

Use with [[#-svc|-svc]] to host the service.
</dl>



==Examples==
Search for files and folders with '''invoice''' in the filename:
`Everything.exe -s "invoice"`

Search for PDF files with '''invoice''' in the filename:
`Everything.exe -s "invoice *.pdf"`

Search for PDF files in a Downloads folder with '''invoice''' in the filename:
`Everything.exe -s "\downloads invoice *.pdf"`

Search for DOCX files containing the phrase '''chicken noodle''' in the content:
`Everything.exe -s "*.docx content:"""chicken noodle""""`

Search for JPG files and show the results as thumbnails:
`Everything.exe *.jpg -thumbnails`

Search for ABC or 123:
`Everything.exe -s "ABC|123"`

Search for files and folders in '''C:\Program Files\Everything''':
`Everything.exe -path "C:\Program Files\Everything"`

Sort results by date modified in descending order:
`Everything.exe -sort "Date Modified" -sort-descending`

Open a favorite bookmark:
`Everything.exe -bookmark "My Favorite Bookmark"`

Start Everything without opening a search window:
`Everything.exe -startup`

Load an Everything.db backup in read-only mode:
`Everything.exe -db "E:\backup\Everything Databases\Everything-2026.db" -read-only`

Create a file list of MP3 and FLAC files in D:\Music
`Everything.exe -create-file-list "music.efu" "D:\Music" -create-file-list-include-only-files "*.mp3;*.flac"`

Show the Advanced Rename dialog for all MP3 files in a specific folder:
`Everything.exe -rename "D:\Music Albums\My Album\*.mp3"`



==See also==
<ul>
*[[support/everything/multiple instances/|Multiple Instances]]
*[[support/everything/file_lists/|Everything file list]]
*[[support/everything/searching/|Searching in Everything]]
*[[support/everything/searching/#filters|Filters]]
*[[support/everything/searching/#bookmarks|Bookmarks]]
</ul>